import request from '@/utils/request'

// 素材统计基础数据
export function getBoardBasic(data: any) {
  return request({
    url: '/scrm-api/console/media/content/board/basic',
    method: 'post',
    data
  })
}
// 浏览时长占比
export function getBoardBrowse(data: any) {
  return request({
    url: '/scrm-api/console/media/content/board/browse',
    method: 'post',
    data
  })
}
// 标签占比
export function getBoardTag(data: any) {
  return request({
    url: '/scrm-api/console/media/content/board/tag',
    method: 'post',
    data
  })
}
// 浏览趋势
export function getBoardTrend(data: any) {
  return request({
    url: 'scrm-api/console/media/content/board/trend',
    method: 'post',
    data
  })
}
// 详情数据表格
export function getBoardList(data: any) {
  return request({
    url: 'scrm-api/console/media/content/board/detail-list',
    method: 'post',
    data
  })
}
// 详情数据表格
export function getBoardExport(data: any) {
  return request({
    url: '/scrm-api/console/media/content/board/export',
    method: 'post',
    data
  })
}

//客户分享TOP10
export function custContentTop(data:any) {
  return request({
      url: '/scrm-api/console/media/content/board/cust/share/top10',
      method: 'POST',
      data
  })
}

//员工分享TOP10
export function staffContentTop(data:any) {
  return request({
      url: 'scrm-api/console/media/content/board/staff/share/top10',
      method: 'POST',
      data
  })
}
